package cn.huiyunche.base.service.interfaces;

import cn.huiyunche.base.service.model.SOrderTrail;
import cn.huiyunche.tools.basic.exceptions.BusinessException;

import java.util.List;

public interface SOrderTrailService {

    /**
     * 新增物流跟踪
     *
     * @param sOrderTrail
     * @return
     * @throws BusinessException
     */
    void add(SOrderTrail sOrderTrail) throws Exception;


    /**
     * @param waybillID
     * @return
     * @Title selectByWaybillid
     * 获取最新一条物流信息
     */
    List<SOrderTrail> selectByWaybillid(Long waybillID);

}
